import {
  API_VERSION,
  PAAS_URL
} from '@/common/config.js';
const publicApi = {
  postRecommentGoods: `/${API_VERSION}/5fd9a32379116`, //智能推荐
  numberOfShoppingCart: ``,//获取购物车数量
  publicUpdateAPP: `/${API_VERSION}/6423fb49bc82c`, // 静默更新
  queryAutograph: `/v1/6454d9663e508`, // 获取oss配置接口
	getAreaData: `/v1/6789c02f24420`, // 获取地址信息列表
  UPLOAD_IMAGE_URL: `/${API_VERSION}/5d5fa8984f0c2`, // 本地图片上传接口
  // UPLOAD_FILE_URL: `/${API_VERSION}/5d5fa8984f0c2`, // 文件上传接口
  GetVerifyCode: `/${API_VERSION}/5f3de8d284639`, // 发送验证码
  getVerifyCodeNew: `/${API_VERSION}/666a45d4d6bb4`, //新版验证码
  beforeGetVerifyCodeNew: `/${API_VERSION}/6668f5d1d434e`, // 新版验证码前置接口
	post68b02d76e2b25:`/${API_VERSION}/68b02d76e2b25`,//学院列表
	post68b111532a960:`/${API_VERSION}/68b111532a960`,//提交
	post68b11dc284b7d:`/${API_VERSION}/68b11dc284b7d`,//判断是否签到过期
  
}
const pageFiles = require.context('../../pages/', true, /\api.js$/);
const pageApis = pageFiles.keys().reduce((modules, modulePath) => {
  const value = pageFiles(modulePath);
  if ((typeof value == 'object') && value.default) Object.assign(modules, value.default);
  return modules;
}, publicApi);
const modulesFiles = require.context('../../components/', true, /\api.js$/);
const modules = modulesFiles.keys().reduce((modules, modulePath) => {
  const value = modulesFiles(modulePath);
  if ((typeof value == 'object') && value.default) Object.assign(modules, value.default);
  return modules;
}, pageApis);
export default modules;
